package util.cvs.convert;

import com.opencsv.bean.AbstractBeanField;

/**
 * @author xiongyx
 * @date 2020/7/10
 */
public class TrimStringPropertyConvert extends AbstractBeanField<String> {

    @Override
    protected String convert(String value){
        if(value == null){
            return "";
        }else{
            return value.trim();
        }
    }
}
